package com.nengchuan.eic.nceconomy.service;

import com.nengchuan.eic.nceconomy.entity.po.SwPropertyDict;
import com.nengchuan.eic.nceconomy.dao.SwPropertyDictMapper;
import com.nengchuan.eic.nceconomy.service.SwPropertyDictService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 三维属性字典 服务实现类
 * </p>
 *
 * @author luoping
 * @since 2020-05-07
 */
@Service
public class SwPropertyDictServiceImpl extends ServiceImpl<SwPropertyDictMapper, SwPropertyDict> implements SwPropertyDictService {

    @Autowired
    private SwPropertyDictMapper swPropertyDictMapper;

    @Override
    public List<String> getType() {
        return swPropertyDictMapper.getType();
    }

    @Override
    public List<String> getPropertyByType(String type) {
        return swPropertyDictMapper.getPropertyByType(type);
    }
}
